//
//  WFCAbout1ViewController.m
//  WildFireChat
//
//  Created by 0000 on 2024/5/14.
//  Copyright © 2024 WildFireChat. All rights reserved.
//

#import "WFCAbout1ViewController.h"
#import "YGExtendChain.h"
#import "SDAutoLayout.h"
#import "UIColor+YH.h"
#import <WFChatUIKit/WFChatUIKit.h>

@interface WFCAbout1ViewController ()
@property (strong, nonatomic)UIImageView *portraitView;
@property (strong, nonatomic)UILabel *lab;

@end

@implementation WFCAbout1ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = [WFCUConfigManager globalManager].backgroudColor;

    self.title = LocalizedString(@"AboutWFChat");

    
    self.portraitView = [[UIImageView alloc] initWithFrame:CGRectMake(12, 8 + 5, 60, 60)];
    self.portraitView.userInteractionEnabled = YES;

    [self.view addSubview:self.portraitView];
    self.portraitView.image = [UIImage imageNamed:@"laun_img1"];
 
    
    UILabel *title = [[UILabel alloc] init ];
    [title setFont:[UIFont systemFontOfSize:16]];
    [title setText:@"TL畅聊"];
    [self.view addSubview:title];
    
    
    self.portraitView.sd_layout.centerXEqualToView(self.view).topSpaceToView(self.view, 100).widthIs(60).heightIs(60);
    
    title.sd_layout.centerXEqualToView(self.view).topSpaceToView(self.portraitView, 10).autoHeightRatio(0);
    [title setSingleLineAutoResizeWithMaxWidth:200];
    
    
    
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
